package io.renren.modules.nuaa.excel;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.renren.common.utils.DateUtils;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * 证书表
 *
 * @author Mark sunlightcs@gmail.com
 * @since 3.0 2023-11-07
 */
@Data
@ContentRowHeight(20)
@HeadRowHeight(20)
@ColumnWidth(25)
public class TCertificateExcel {

    @ExcelProperty(value = "姓名")
    private String name;
    @ExcelProperty(value = "身份证号")
    private String idCard;
    @ExcelProperty(value = "证书编号")
    private String certificateNo;
    @ExcelProperty(value = "分类")
    private String categoryName;
    @ExcelProperty(value = "过期时间")
    @JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
    private Date expirationDate;


}